<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表单验证</title>
    <link rel="stylesheet" href="index.css">
</head>

<body>
    <div class="container">
        <form class="form">
            <h1>注册</h1>
            <div class="form-control">
                <label>用户名:</label>
                <input type="text" placeholder="请输入用户名">
                <span class="error-text"></span>
            </div>
            <div class="form-control">
                <label>邮箱:</label>
                <input type="email" placeholder="请输入邮箱">
                <span class="error-text"></span>
            </div>
            <div class="form-control">
                <label>密码:</label>
                <input type="password" placeholder="请输入密码">
                <span class="error-text"></span>
            </div>
            <div class="form-control">
                <label>确认密码:</label>
                <input type="password" placeholder="请输入密码">
                <span class="error-text"></span>
            </div>
            <button class="submit-btn" type="button">提交</button>
        </form>
    </div>
</body>
<script src="https://www.eveningwater.com/static/plugin/popbox.min.js"></script>
<script src="index.js"></script>

</html>